<h1>Sign up form</h1>
<form action="<?php echo $base.'signup'?>" method="post">
	<table>
		<tr>
			<td><label for="name">Name:</label></td>
			<td><input id="name" name="name" type="text"/></td>
		</tr>
		<tr>
			<td><label for="school">School:</label></td>
			<td><input id="school" name="school" type="text"/></td>
		</tr>
		<tr>
			<td><label for="city">City:</label></td>
			<td><input id="city" name="city" type="text"/></td>
		</tr>
		<tr>
			<td><label for="state">State:</label></td>
			<td><input id="state" name="state" type="text"/></td>
		</tr>
		<tr>
			<td><label for="email">Email address:</label></td>
			<td><input id="email" name="email" type="text"/></td>
		</tr>
			<td><label for="password1">Password:</label></td>
			<td><input id="password1" name="password" type="password"/></td>
		<tr>
			<td><label for="password2">Confirm password:</label></td>
			<td><input id="password2" name="password_confirm" type="password"/></td>
		</tr>
	<?php foreach ($roles as $role): ?>
	<tr>
		<td><input id="<?php echo 'type'.$role['id'] ?>" name="type" type="radio" value="<?php echo $role['id'] ?>"/><?php echo $role['name']; ?></td>
	</tr>
	<?php endforeach ?>
	</table>
</form>